Assigning Hex number

suetibu sudhin.shah at gmail.com
Wed Feb 8 21:24:35 UTC 2012


Hello,

I currently have script set up as follows:

xyz.OnsetSignalEnabled= True
xyz.OnsetSignalPort= &H4000
xyz.OnsetSignalData= 25

This works.

However, since the OnsetSignalPort is declared several times in the
script, is there a way to declare it as a global variable once in the
beginning of the script?

Does this work?
DIM PtAdd as Integer
PtAdd = CInt(&H4000)
xyz.OnsetSignalEnabled= True
xyz.OnsetSignalPort= PtAdd
xyz.OnsetSignalData= 25

This compiles fine but I'm not sure if it is the same.

Thanks,
S

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list