This object is in archive! 

multiple quotes

Niculae Radu shared this question 4 years ago
Answered

    Execute[{

    "RotateText["a = 5 ", 45°]"

    }]

Hello, Please tell me how I can work with strings more better into Execute[{}] command ? ThankYou !

    strings = {"Hello,"," Please tell me"," how I can work with strings"," more better"," into Execute[{}] command ?","ThankYou !"}

    Execute[{

    "RotateText[strings(1), 75°]",

    "RotateText[strings(2), 60°]",

    "RotateText[strings(3), 45°]",

    "RotateText[strings(4), 30°]",

    "RotateText[strings(5), 15°]",

    "RotateText[strings(6), 15°]"

    }]

Best Answer
photo

ok. not work with List. probably the best answer is the ask. grinning

Copy Memmory, paste it into input window and push enter key,

Copy Execute, paste it into input window and push enter key.

Enjoy with your first geogebra program writen with only a text editor.

Another way to write a geogebra program is to edit a XML file, and then zip it, and at last to rename his extension from zip to ggb

here is memmory of program and content of program:


    Memmory={

    {"Hello,"," Please tell me"," how I can work with strings"},

    {" more better"," into Execute[{}] command ?","ThankYou !"},

    {1,0,1}

    }

    Execute[{

    "RotateText[Memmory(1,1), 75°]",

    "RotateText[Memmory(1,2), 60°]",

    "RotateText[Memmory(1,3), 45°]",

    "RotateText[Memmory(2,1), 30°]",

    "RotateText[Memmory(2,2), 15°]",

    "RotateText[Memmory(2,3), 15°]"

    }]


the content of your first program source writen in geogebra programing language are these rows:


    "RotateText[Memmory(1,1), 75°]",

    "RotateText[Memmory(1,2), 60°]",

    "RotateText[Memmory(1,3), 45°]",

    "RotateText[Memmory(2,1), 30°]",

    "RotateText[Memmory(2,2), 15°]",

    "RotateText[Memmory(2,3), 15°]



The program begin with 'Execute[{' declaration and his 'End Of File' is '}]'


"Programing in Geogebra language" series wink

Comments (12)

photo
1

Hallo Wie löse ich die Situation mit verschachtelten Anführungszeichen?

Vielen Dank, wenn Sie mir helfen.

Bonjour Comment puis-je résoudre la situation avec des citations imbriquées?

Merci si vous me aider.

Hola ¿Cómo se resuelve la situación con citas anidadas?

Muchas gracias si me ayudas.

Hello How do I resolve the situation with nested quotes?

Thank you very much if you help me.

Γεια Πώς μπορώ να επιλύσουν την κατάσταση με ένθετα εισαγωγικά;

Σας ευχαριστώ πολύ, αν με βοηθήσει.

Sawubona Kanjani I ukuxazulula isimo nge izingcaphuno elifakwa?

Ngiyabonga okuningi kakhulu uma ungangisiza wena.

שלום כיצד ניתן לפתור את המצב עם ציטוטים מקוננים?

תודה רבה לך אם תוכל לעזור לי.

Saluton Kiel mi solvi la situacion kun nestitaj citaĵoj?

Koran dankon se vi helpos min.

photo
1

c34=UnicodeToLetter[34]

c34+"--. .-. ..- ... ..."+c34

photo
1

No scripts:


  1. list1 = {"abc", "DEF", "ghi", "JKL", "mno", "PQR"}
  2. list2 = Sequence[(n, 2), n, 4, 9]
  3. list3 = Sequence[Max[n,15]°, n, 75, 0, -15]
  4. list4 = Zip[Text[RotateText[t, a], p, false, true], t, list1, a, list3, p, list2]

As script-list


  1. exeScript = Sequence["Text[RotateText[list1(" + (n) + "), " + ((6 - Min[n, 5]) 15) + "°], (3+" + (n) + ",2), false,true]", n, 1, 6]

photo
1

herr Reymond,

you tried to see if it work your answer ?

try this:

Execute[{

"exeScript = Sequence["Text[RotateText[list1(" + (n) + "), " + ((6 - Min[n, 5]) 15) + "°], (3+" + (n) + ",2), false,true]", n, 1, 6]"

}]

photo
1

yes, thanks

photo
1

ok, then where is command for using double quates into execute[{}] ?

for what you wrote 'thanks' ?

your answer is wrong. your answer is not good.

this topic is still in waiting for solution. this topic is not solved

photo
photo
1

Herr Rami, is about content of


Execute[{

here mister Raymond, here, look here, here is content of Execute[{}]

}]

photo
1

Your style is strange for me. I think this is a result of different characters.

photo
1

Hallo Rami

In Deutsch, mein Name ist Claus.

Und ja, der Name der Datei ist richtig TestfürClaus.ggb

photo
1

Die Quelldatei beginnt mit Execute[{ und endet mit }]

Die Source-Textzeichenfolgen von Befehlen geschrieben zwischen "" und durch Komma getrennt.

Sehen, dass gehen Führen Sie mit Execute[{"" ""}] Ich dachte, vielleicht gehen Sie mit List[].

Also, vielleicht können wir als Beginn der Quelldatei List[ und endet mit ]

Offensichtlich ist der Quelltext ist in Bereich von Befehlen geschrieben zwischen "" und durch Komma getrennt

Es muss festgestellt werden, dass Lösung ist besser? Führen Lösung mit die Execute[] oder Lösung, mit die List[] ?

photo
1

content-of-source-file is all commands entered into Input window of Geogebra

How is more better? using Execute_content-of-source-file, or List_content-of-source-file ?

Mean, how is more well ?

Execute[{eb53cba08a78a8ff84886b586065031b

}]

or

List[

8ca15e56791e9fba0bbe83efd22d774f

]

?

Is clear now ?

Es ist nun klar ?

:-)

photo
photo
1

ok. not work with List. probably the best answer is the ask. grinning

Copy Memmory, paste it into input window and push enter key,

Copy Execute, paste it into input window and push enter key.

Enjoy with your first geogebra program writen with only a text editor.

Another way to write a geogebra program is to edit a XML file, and then zip it, and at last to rename his extension from zip to ggb

here is memmory of program and content of program:


    Memmory={

    {"Hello,"," Please tell me"," how I can work with strings"},

    {" more better"," into Execute[{}] command ?","ThankYou !"},

    {1,0,1}

    }

    Execute[{

    "RotateText[Memmory(1,1), 75°]",

    "RotateText[Memmory(1,2), 60°]",

    "RotateText[Memmory(1,3), 45°]",

    "RotateText[Memmory(2,1), 30°]",

    "RotateText[Memmory(2,2), 15°]",

    "RotateText[Memmory(2,3), 15°]"

    }]


the content of your first program source writen in geogebra programing language are these rows:


    "RotateText[Memmory(1,1), 75°]",

    "RotateText[Memmory(1,2), 60°]",

    "RotateText[Memmory(1,3), 45°]",

    "RotateText[Memmory(2,1), 30°]",

    "RotateText[Memmory(2,2), 15°]",

    "RotateText[Memmory(2,3), 15°]



The program begin with 'Execute[{' declaration and his 'End Of File' is '}]'


"Programing in Geogebra language" series wink

© 2021 International GeoGebra Institute