AMOS:Ask Editor commands

From Amiga Coding
Revision as of 21:50, 9 June 2008 by Spellcoder (talk | contribs) (converted the list from Editor_Commands.doc to a table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
codeequateparameterresult
1AEdAsk_CurrentLine-Returns the current line (under the cursor)
2AEdAsk_ProgramName-Returns the name of the current program
3AEdAsk_X-Returns the current cursor's X position
4AEdAsk_Y-Returns the current cursor's Y position
5AEdAsk_NumberOfLines-Returns the number of lines of the current program
6AEdAsk_BlocX1-Returns the X position of the start of the highlighted block (if defined)
7AEdAsk_BlocY1-Returns the Y position of the start of the highlighted block (if defined)
8AEdAsk_BlocY2-Returns the X position of the end of the highlighted block (if defined)
9AEdAsk_BlocY2-Returns the Y position of the end of the highlighted block (if defined)
10AEdAsk_Free-Returns the amount of free buffer space
11AEdAsk_Struc-(Internal use only)
12AEdAsk_TokenPAR$= string to tokenise.Tokenise the given ASCII String into AMOS source code, and returns a pointer to a buffer containing the tokenised code.