Gebruikershulpmiddelen

Site-hulpmiddelen


nl:documentation:toolbox_editor

Verschillen

Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.

Link naar deze vergelijking

Beide kanten vorige revisieVorige revisie
Volgende revisie
Vorige revisie
nl:documentation:toolbox_editor [2015/07/03 13:39] – [Creëer de gereedschap layout] marc_fokkernl:documentation:toolbox_editor [2015/11/06 20:43] (huidige) – Externe bewerking 127.0.0.1
Regel 1: Regel 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
- 
 ====== Gereedschapvenster bewerker ====== ====== Gereedschapvenster bewerker ======
  
Regel 47: Regel 45:
  
  
-===== Script editor ===== +===== Script bewerker ===== 
- +De bewerker maakt het je mogelijk om zelf een script te schrijven dat uitgevoerd wordt met een klik op een knopeen keuzelijstof een gebeurtenis.
-The editor allow to write the script itself that execute on a button clicka combobox selectionor an event.+
  
 {{:en:documentation:scripteditor.jpg?400|}} {{:en:documentation:scripteditor.jpg?400|}}
  
-The language to use is [[wp>Pascal_Script|Pascal Script]], based on [[wp>Object_Pascal|Object Pascal]].\\ +De te gerbuiken taal is [[wp>Pascal_Script|Pascal Script]], gebaseerd op [[wp>Object_Pascal|Object Pascal]].\\ 
-Define first the global variablesthen the procedure and function if anythen the private variableand finally the main code start with **begin** and end with **end.**\\ +Definïeer eerst de globale variabelendan de procedures en eventuele functiesdaarna de private variabelenuiteindelijk de main code die start met **begin** en eindigt met **end.**\\ 
-Read the [[script_example|script example]] page for a quick start.+Lees de [[script_example|script voorbeeld]] pagina voor een snelle start.
  
-As the each script is specific to one event there is no possibility to have global variables across scripts. For example you cannot set a variable when a button is pressed and later use this variable in another button click.\\ +Omdat ieder script specifiek is voor een gebeurtenis is er geen mogelijkheid om globale variabelen te hebben tussen scripts. Het is dus niet mogelijk een variabele in te stellen met een klik op een knop en later deze variabele aan te roepen met een andere klik op een knop.\\ 
-To solve this issue a number of global variables are predefined in the main program and specific functions allow to write and read them.+Om dat op te lossen zijn er een aantal globale variabelen gedefinieerd in het hoofdprogramma en er zijn specifieke functies om deze in te stellen en uit te lezen.
  
-This functions and other specific to the interface with Skychart, they are described in a separate [[script_reference|script reference]] page.+Deze functies en andere specifiek voor de interface zijn beschreven in een afzonderlijke  [[script_reference|script referentie]] pagina.
  
-Use the **Save** button to record your change and return to the main window.+Gebruik de **Opslaan** knop om je wijzigingen op te slaan en terug te keren naar het hoofdvenster.
  
-The top button are related to the debugging function as describe below.+De knoppen op de bovenste rij zijn voor debuggingsfuncties zoals onderstaand is beschreven.
  
 ===== Script debugger ===== ===== Script debugger =====
  
-Simple debugging function are available to test your code.+Er zijn eenvoudige mogelijkheden beschikbaar om je code te debuggen.
  
 {{:en:screenshot:x009_script_debug.jpg?400|}} {{:en:screenshot:x009_script_debug.jpg?400|}}
  
-To run the script in debug mode press the green arrow **Run** buttonThe program is first compiled.+Om je script in debug modus te draaien klik de groene pijl **Uitvoeren** knopHet programma wordt eerst gecompileerd.
  
-In case of compilation errorthe corresponding row is highlighted in yellow, and the error message is show in the bottom message area+In geval van een compilatiefoutdan zul je de corresponderende rij gemarkeerd in geel oplichten en het foutbericht zie je onderaan in het berichtengebied
  
-If the compilation finish without error the program start to run and stop on the first code line of the main procedureThe current execution position is highlighted in blue.+Als de compilatie zonder fout verloopt dan zal het programma beginnen met uitvoering en stopt direct op de eerste regel van de "main" procedereDe huidige uitvoeringspositie is gemarkeerd in blauw.
  
-You can now use the **Step over** button to execute your program line by line.\\ +Je kunt nu de  **Stap over** knop gebruiken om je code regel voor regel uit te voeren..\\ 
-The **Step into** button do the sameexcept if the current line is a call to one of your functionIn this case **Step into** allow to run the function line by line, but **Step over** execute the function and stop at the main program next line.+De **Stap in** knop doet hetzelfde behalve dat wanneer de de huidige regel een functie aanroeptDan wordt de functie ook regel voor regel uitgevoerd. Een **stap over** voert de functie dus geheel uit en stopr op de volgende regel in het hoofdprogramma.
  
-You can also set a breakpoint on a specific line to jump directly at this position.+Je kunt ook een breakpoint op een bepaalde regel zetten om direct naar die positie te springen.
  
-To set a breakpoint click on the leftmost column to show a red icon.\\ +Om een breakpoint te plaatsen, doe een linker muisklik op de linker kolom met de regelnummers om een rood icoontje te plaatsen.\\ 
-Use the Run button to jump to the next breakpoint. The current line is then highlighted in red.+Gebruik de **Uitvoeren** knop om naar een volgend breakpoint te springenDe huidige regel is rood gemarkeerd.
  
-You can remove a breakpoint by clicking on the red icon or all at at time with the **Remove all breakpoint** button.+Je kunt een breakpoint verwijderen door op het rode icoontje te klikken, je kunt ze ook allemaal ineens verwijderen door een klik op de knop  **Verwijder alle breakpoints**.
  
-You can display the value of variables when the program is in pause at a breakpoint or after a **Step over** click.\\ +Je kunt de waarde van variabelen weergeven wanneer het programma pauzeert op een breakpoint of na een **Stap over** klik.\\ 
-Just click on the variable name anywhere in the program source to display the value in the message area.\\ +Klick op de variabele naam waar dan ook in de programmacode om de waarde weer te geven in het berichtengebied.\\ 
-Note this work only for local variablesnot for object properties.+Dit werkt alleen voor lokale variabelenniet voor object eigenschappen.
  
-You can use the **Pause** button to pause the program executionThis can be useful to examine the condition of an infinite loop for example.+Je kunt de **Pauze** knop gebruiken om programma-uitvoering te pauzerenDit is handig om de condities te controleren wanneer het programma in een oneindige lus terecht is gekomen.
  
-The **Stop** button terminate the program execution immediately.+De **Stop** knop beëindigt het programma onmiddellijk.
    
  
nl/documentation/toolbox_editor.1435923578.txt.gz · Laatst gewijzigd: 2015/11/06 20:36 (Externe bewerking)