• Leigh B. Stoller's avatar
    By the pervision of TCL, I have hidden the details: · 1c0efe2c
    Leigh B. Stoller authored
    	source tb_compat.tcl
    	set ns [new Simulator]
    
    	tb-elab-in-elab 1
    	tb-set-inner-elab-eid two-simple
    	tb-set-security-level Red
    
    	$ns run
    
    tbsetup/ns2ir/elabinelab.ns has all the goo, which is sourced from the
    NS run subroutine, using "uplevel 1" so that the context is correct.
    You can of course include you own goo, in which case the default goo
    will be skipped.
    1c0efe2c
sim.tcl.in 31.9 KB