Revision history for KeyPgPos


Revision [20446]

Last edited on 2016-02-10 16:06:37 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Pos** ( ) [[KeyPgAs|as]] [[KeyPgLong|long]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Pos** ( [[KeyPgByval|byval]] //dummy// [[KeyPgAs|as]] [[KeyPgLong|long]] ) [[KeyPgAs|as]] [[KeyPgLong|long]]
- ##[[KeyPgCsrlin|Csrlin]]##
- ##[[KeyPgTab|Tab]]##
- ##[[KeyPgLocate|Locate]]##
Deletions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** ( ) [[KeyPgAs as]] [[KeyPgLong long]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** ( [[KeyPgByval byval]] //dummy// [[KeyPgAs as]] [[KeyPgLong long]] ) [[KeyPgAs as]] [[KeyPgLong long]]
- ##[[KeyPgCsrlin Csrlin]]##
- ##[[KeyPgTab Tab]]##
- ##[[KeyPgLocate Locate]]##


Revision [17679]

Edited on 2015-06-12 06:01:42 by FxMwikki [Suppressed the no-relevant keyword 'Overload' in Syntax]
Additions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** ( ) [[KeyPgAs as]] [[KeyPgLong long]]
Deletions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** [[KeyPgOverload overload]] ( ) [[KeyPgAs as]] [[KeyPgLong long]]


Revision [17531]

Edited on 2015-04-01 12:31:44 by DkLwikki [integer => long]
Additions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** [[KeyPgOverload overload]] ( ) [[KeyPgAs as]] [[KeyPgLong long]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** ( [[KeyPgByval byval]] //dummy// [[KeyPgAs as]] [[KeyPgLong long]] ) [[KeyPgAs as]] [[KeyPgLong long]]
Deletions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** [[KeyPgOverload overload]] ( ) [[KeyPgAs as]] [[KeyPgInteger integer]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Pos** ( [[KeyPgByval byval]] //dummy// [[KeyPgAs as]] [[KeyPgInteger integer]] ) [[KeyPgAs as]] [[KeyPgInteger integer]]


Revision [16132]

Edited on 2012-02-24 15:49:33 by DkLwikki [Formatting]
Additions:
Returns the horizontal (left to right) position of the text cursor. The leftmost column is number ##1##.
Deletions:
Returns the horizontal (left to right) position of the text cursor. The leftmost column is number ##1##.


Revision [13739]

Edited on 2008-09-23 14:31:28 by CountingPine [Formatting]
Additions:
- ##[[KeyPgLocate Locate]]##
Deletions:
{{fbdoc item="title" value=" - ##[[KeyPgLocate Locate]]##"}}


Revision [13738]

Edited on 2008-09-23 14:29:41 by CountingPine [Formatting]
Additions:
- The ##//dummy//## parameter was not optional in QBASIC.
{{fbdoc item="title" value=" - ##[[KeyPgLocate Locate]]##"}}
Deletions:
- None.
- ##[[KeyPgLocate Locate]]##


Revision [13737]

Edited on 2008-09-23 14:27:30 by CountingPine [Formatting]
Additions:
Returns the horizontal (left to right) position of the text cursor
Deletions:
Returns the horizontal (left-right) position of the text cursor


Revision [13736]

Edited on 2008-09-23 14:27:01 by CountingPine [Formatting]
Additions:
//result// = **Pos**[ ( //dummy// ) ]
Deletions:
//result// = **Pos**[ ( //dummy// )]


Revision [13735]

Edited on 2008-09-23 14:26:40 by CountingPine [See Also, hopefully more illustrative example]
Additions:
//result// = **Pos**[ ( //dummy// )]
An unused parameter retained for backward compatibility with QBASIC.
Returns the horizontal (left to right) position of the text cursor. The leftmost column is number ##1##.
dim as integer p
'' print starting column position
p = pos()
Print "position: "; p
'' print a string, without a new-line
Print "ABCDEF";
'' print new column position:
p = pos()
Print: Print "position: "; p
Print
''position changes after each Print:
Print "Column numbers: "
Print Pos(), Pos(), Pos(), Pos(), Pos()
- ##[[KeyPgCsrlin Csrlin]]##
- ##[[KeyPgTab Tab]]##
Deletions:
//result// = POS( //dummy// )
An unused parameter retained for backward compatibility with QB.
Returns the horizontal (left-right) position of the text cursor. 1 means the very left.
print "position: "; pos
print "hello world";
print "position: "; pos


Revision [10321]

The oldest known version of this page was created on 2007-07-30 20:04:04 by JeffMarshall [See Also, hopefully more illustrative example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode