Difference between revisions of "Gscope Procedures"
Line 4: | Line 4: | ||
===proc Iterator=== | ===proc Iterator=== | ||
− | See the source of [http://lbgi.igbmc.fr/gag/cgi-bin/GscopeServer?Zero& | + | See the source of [http://lbgi.igbmc.fr/gag/cgi-bin/GscopeServer?Zero&AfficheLaProc&Iterator proc Iterator] |
<source lang="tcl"> | <source lang="tcl"> | ||
set Name [Iterator New Init $L0 $L1 $L2] | set Name [Iterator New Init $L0 $L1 $L2] |
Revision as of 17:11, 20 April 2009
You'll find here description about Gscope Procedures
see all procedures with Gscope Chez le Psy
proc Iterator
See the source of proc Iterator
set Name [Iterator New Init $L0 $L1 $L2]
while {[Iterator $Name Next v0 v1 v2]} { ... } #rR sans $
#rR L2 is the fastest !!!!!!!!!!!!!!!!!!!!
#rR Attention lists are numbered from 0 to 2 (for the caller)
#rR but are from 2 to 0 in the proc
Iterator $Name Reset
Iterator $Name Destroy
set Info [Iterator Iterator Get ListOf Name]
set Info [Iterator $Name Get Current 2] #rR current index de L2
set Info [Iterator $Name Get Current All] #rR tous les current L0 L1 L2
set Info [Iterator $Name Get Max 0]
set Info [Iterator $Name Get Max All]