====== VARPTR ====== /* Remove the comments after creating content for each section.*/ Returns the memory address of a variable, just as a pointer of other languages **Implemented by:** [[:basics:msatari:]], [[:basics:trs80:level2]], [[:basics:trscolor:colorext]], [[:basics:GWBASIC:]], [[:basics:ABasiC:]], [[:basics:msqb:QBasic]], [[:basics:VBDOS:]], [[:basics:FreeBASIC:]], [[:basics:ugBASIC:]] **With variations:** [[:basics:trscolor:colormc]] (undocumented), [[:basics:MSX:]] (negative value requires adding 65535), [[:basics:Gambas:]] **Also written as: ** /* Alternative spellings and abbreviations this keyword has. No need to refer to a BASIC, there is a section for that later. */ ===== Usage ===== ==== Variations ==== ===== Examples ===== /* This is a code block, using GeSHi syntax highlighting for //gwbasic//. Other styles of interest might be //basic4gl//, //blitzbasic//, //freebasic//, //gambas//, //locobasic//, //purebasic//, //qbasic//, //sdlbasic//, //thinbasic//, //vb//, //vbnet//, //xbasic// or //zxbasic//. */ p = VARPTR(a$) ===== Comments ===== /* Origin of the keyword, opinions, history... */ ===== Related keywords ===== /* Keywords that are often or always used along this one */ ===== Similar keywords ===== /* Keywords with the same or similar functionality found in other versions of BASIC */ ===== In other languages... ===== /* For parallels and comparisons with other modern-day languages */ VARPTR works kinda like the & operator before a variable's name in the C language. ===== References ===== /* If you used the ((citation)) syntax elsewhere in the text, they will appear under this section. But you can write some recommendations of books, magazines, etc */ {{tag>Functions Memory}}