Revision 3883 trunk/extensions/extCAD/sm/PointCADTool.sm

View differences:

PointCADTool.sm
18 18
Initial
19 19

  
20 20
	Entry {
21
		init();
22 21
		setQuestion("PUNTO" + "\n" +
23 22
		"Defina el punto");
23
		setDescription(new String[]{"Cancelar"});
24 24
		}
25 25
	Exit {
26 26
		}
......
30 30
		addPoint( pointX:double,pointY:double)
31 31
			First {
32 32
				setQuestion("Insertar punto");
33
				setDescription(new String[]{"Cancelar"});
33 34
				addPoint( pointX,pointY);
34 35
				}
35 36
	}
......
37 38
	addPoint( pointX:double,pointY:double)
38 39
		First {
39 40
			setQuestion("Insertar punto");
41
			setDescription(new String[]{"Cancelar"});
40 42
			addPoint( pointX,pointY);
41 43
			}
42 44
}
43 45
Default
44 46
{
45

  
47
	addOption(s:String)
48
		[s.equals("Cancelar")]
49
		Initial{
50
			end();
51
			}
46 52
}
47 53
%%

Also available in: Unified diff