Register | Login
Forum Index > Source Help > need help
Author Message
Pages: 1
Ziron Beta Tester


(send private message)

Posts: 639
Topics: 104

Alex, Egypt
[391] need help - posted: 2011-11-06 13:55:30

i need some help , when i have to use Ziron_PeekNextToken and when i have to use
Ziron_GetNextToken and also Ziron_ExpectNextToken.

also how those function affect Ziron states ?
Site Admin


(send private message)

Posts: 932
Topics: 54

OverHertz Studio
[393] - posted: 2011-11-06 14:39:07


This function will internally move to the next token and check if it is the token you passed in parameter, if it is not, it returns -1 as you already know.


This function will move to the next token, regardless of what the next token may be, it returns the zirToken ID.


This function is similar to GetNextToken, however it is does not move to the next token, it remains in the current position as not to lose the next token if you do not need it.

Note that this function will also internally change the GetString, GetInt and GetFloat values to the peeked value.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1
create new reply

Quick reply:


Currently Active Users:
There are currently 3 user(s) online. 0 member(s) and 3 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.

Threads: 224 | Posts: 1847 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2022 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd