Shop OBEX P1 Docs P2 Docs Learn Events
Eureka! — Parallax Forums

Eureka!

ArchiverArchiver Posts: 46,084
edited 2002-11-09 00:51 in General Discussion
I have just this minute successfully talked to the Tokenizer extension with
a simple test!

Had to learn a lot in Realbasic to figure out why my code would not work,
but after a simple modification, this simple code works:

The Test just gets the version number from the Extension.

Sub Action
Declare Function Version lib "tokenizer.shlb" alias "Version__Fv" () As
Integer
MsgBox Str( Version() )
end Sub

The Alias "Version__Fv" bit is needed (and was the only required addition)
because on the Mac version of the Extension, the version function is
actually called

"Version__Fv"
(I had to use "PEF Viewer", and look under the 'untitled loader' section and
then go to View->Exported symbols to see this).

So, hopefully that is a major hurdle over, and now a Mac Stamp IDE will not
be far away.

Ben, Wellington, New Zealand.

--
http://www.lennard.net.nz/
Ben Lennard, NCEE, Dip EE

Electronics R&D

Hm: +64 4 972 7567
Mb: +64 21 536 627
87 Spencer Street
Crofton Downs
Wellington
New Zealand

"To the optimist, the glass is half full. To the pessimist, the glass is
half empty. To the engineer, the glass is twice as big as it needs to be."

No animals were harmed in the transmission of this email, although the
Dog next door is living on borrowed time, let me tell you! Those of you
with an overwhelming fear of the unknown will be gratified to learn that
there is no hidden message revealed by reading this warning backwards.
Sign In or Register to comment.