This function will set the current buffer (cursor) position to the position tracked in the marker with the given ID. This function is in that the exact counterpart of SetBufMark().
If you not wanna go to the exact position of the marker, but just want to use it as base for a jump with a certain displacement, then you may use SeekBuf() instead, specifying your desired displacement and give the marker ID as the mode parameter.
SYNTAX:
err% = GotoBufMark% (buf$(), markID%)
INPUTS:
buf$() (STRING array)
- This is the array of any existing and initialized buffer, in which you wanna jump to the marker position.
markID% (INTEGER)
- Any ID number in the range 1 to 100, which identifies the desired marker.
RESULT:
err% (INTEGER)
- This is usually zero (0) on success, or any of the error numbers defined in the BufferSupport.bi file (see also Common-Info), the old buffer position remains unchanged in the latter case.