Changeset 0d88c15 in tol
- Timestamp:
- Feb 15, 2012, 6:36:54 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 1efd6f9
- Parents:
- a566515
- File:
-
- 1 edited
-
tol/btol/bgrammar/spfuninst.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/bgrammar/spfuninst.cpp
ra566515 r0d88c15 2458 2458 AddLeftInstance("$", 2459 2459 "(Set s)", 2460 I2("Returns the first element of a set used as an object referencer.\n" 2461 "Example:\n", 2462 "Devuelve el primer elemento de un conjunto usado como un " 2463 "referenciador de objetos.\n" 2464 "Ejemplo:\n")+ 2465 "Real a = 3;\n" 2466 "Set s = @Real(a);\n" 2467 "Real x = $s + 2;\n", 2460 I2("Returns the referenced object used as a referencer set, i.e.," 2461 " a set with a referential structure called as character '@' " 2462 "followed by a native TOL type as " 2463 "@Real, @Date, @Anything, @Code, ...\n" 2464 "You can create a referencer set as\n" 2465 " @<type> R = [[ <type_ref> ]];\n" 2466 "where <type_ref> is a reference of an object of the specified type, i.e.," 2467 "the name of an object, an element of a Set, a member of a NameBlock, or " 2468 "any TOL expression returning one of those.", 2469 "Devuelve el objeto referenciado por un conjunto referenciador, esto es, " 2470 "un conjunto con una estructura espcial nombrada como el caracter '@' " 2471 "seguido por el nombre de un tipo nativo de TOL, como " 2472 "@Real, @Date, @Anything, @Code, ...\n" 2473 "Se puede crear un conjunto referencial\n" 2474 " @<type> R = [[ <type_ref> ]];\n" 2475 "donde <type_ref> es unaa referencia de un objeto del tipo especificado, o sea," 2476 "el nomb re de un objeto, un elemento de un Set, un mimebro of a NameBlock, or " 2477 "any TOL expression returning one of those." 2478 )+".\n"+ 2479 I2("Examples:\n","Ejemplos:\n")+ 2480 " Set s = SetOfAnything(1,2,\"txt\");\n"+ 2481 " @Real R1 = [[ s[1] ]];\n"+ 2482 " @Anything R2 = [[ s[2] ]];\n"+ 2483 " @Text R3 = [[ s[3] ]];\n"+ 2484 " Real x = $R1-1;\n"+ 2485 " Real y = $R2;\n"+ 2486 " Text z = $R3;\n"+ 2487 " Real y := 5;\n"+ 2488 " Real $R1 := 6;\n", 2468 2489 EvRef); 2469 2490
Note: See TracChangeset
for help on using the changeset viewer.
