Handles and adresses

So now that you’re all up to speed with my findings I’m going to add more random blog entries on stuff I find.

I am still looking into passing a string into a function and passing that string onto a function that accept a IN_8 parameter. I had seen the @ character in other LMS code but didn’t really figure out what it was, so I decided to look it up in the .logo files, and this is what I found:

if (first :i) = "@ [output get-hnd intern bf :i]
if (first :i) = "& [output get-adr intern bf :i]

So the @ character seems to indicate that you want the handle of something, and the & seems to be the address, probably the address of the variable.

I’m still not closer to logging properly but I figured the @ and & was interesting enough to share.

Leave a Reply