Given that the following is valid and gives a desirable result:

A memoryblock instance (Identifier) passed from a plugin is being  
treated as a Ptr like

                dim x as Ptr = identifier

and is then casted to an Integer and compared like

                if Integer(x) = 1234 then
                        MSGBox "yippee"
                end if

However, how does one cast a Ptr to a string like:

                if string(x) = "myypppeestring" then
.....

the compiler complains because string is not a class, yikes....

Alfred



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to