Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

date output


kkominiarek
 Share

Recommended Posts

i've tried 8 forum suggestions and i cannot get the month and day to post correctly.

 

any help will be greatly appreciated...this is what i have.

 

 

original v9 post-

 

pheader

 

"(CREATED ON - ",*month,45,*day,45,*year,")", e

 

 

this is what was coded in program = (CREATED ON - 05-12-07)

 

 

mcx2 mr2 sp1

using updatepost.dll this is what i have-

 

pheader

 

"(CREATED ON - ",month$ ,"-",day$ ,"-",year$ ,")", e$

 

this is what was coded in program = (CREATED ON - --07)

Link to comment
Share on other sites

Ken,

 

can I get a peek at your post?

 

I am think the variables for the missing information have been either removed or commented out.

 

From what I have seen so far it seems your coding "should" work.

 

[ 01-24-2008, 10:22 AM: Message edited by: JParis@CNC Programming Solutions® ]

Link to comment
Share on other sites

jparis thanx for offer.....

 

i'm getting close.....

 

these are variables in post

fmt 14 day$

fmt 14 month$

fmt 6 year2

year2 = year$ + 2000

 

 

this is in my post

"(CREATED ON - ", month$ ,"-",day$ ,"-",year$ ,")", e$

 

this is what is coded out

(CREATED ON - 1.-24.-08)

 

 

i would like it to look like this

(CREATED ON - 01-24-08)

 

any ideas how to get rid of points and

force month to two digits???

Link to comment
Share on other sites

my reseller saw my question...he stepped in and solved.

 

these fmt lines were the problem, so once blocked out....the date coded as i wanted (01-23-08)

#fmt 14 day$

#fmt 14 month$

#fmt 6 year2

#year2 = year$ + 2000

 

if i understand correctly.....in X2 anything in the post with $ at the end is taken at face value....so month$ day$ year$ come right

from the computer, we don't need to force these values.

 

thanks to chris parish at optipro and all others who helped.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...