CSPro Syntax Wall Cards skip to AGE skip
- Slides: 69
CSPro Syntax Wall Cards
skip to AGE; skip to next;
if then else if AGE < 5 then skip to MOINS_CINQ; else skip to CINQ_ET_PLUS; endif;
comparison = Egal à <> Diffèrent de < Inferieur à > Supérieur à <= Inferieur ou égal à >= Supérieur ou égal à in Dans la fourchette (AGE in 10: 15)
commentaires // Commentaire 1 ligne {Commentaire sur plusieurs lignes }
ask if AGE > 3;
Les opérateurs logiques and (les deux vrai) or (un ou l’autre vrai) not (not vrai->faux, not faux->vrai)
curocc(); curocc(MEN_ROSTER);
noinput;
endgroup;
endlevel;
totocc(MENAGE_ROSTER);
pos p = pos(“S”, “CSPRO”);
errmsg(“Bonjour”); errmsg(“Age est de %d”, AGE); errmsg(“Nom est %s”, NOM); %d %f %s %l Afficher nombre integrale nombre décimaux chaine de caractères libellé de la valeur
reenter; reenter AGE;
strip s = strip(NOM);
getlabel s = getlabel(SEXE_VS 1, SEXE); s = getlabel(SEXE_VS 1, 1);
errmsg avec select errmsg(“Mère trop jeune”) select(“Corriger l’âge”, AGE, “Corriger lien de parenté”, LIEN_PARENTE);
warning(“Mère trop jeune”) select(“Corriger l’âge”, AGE, “Corriger lien de parenté”, LIEN_PARENTE); “Ignorer”, continue);
arithmétique + * / % ^ Addition Soustraction Multiplication Division Restant Puissance
datediff dd = datediff(DATE_NAISSANCE, DATE_INTERVIEW);
variables numeric nombre. Enfants; alpha[30] nom. Mere; string nom. Mere;
indices SEXE(1) AGE(3) SEXE(MERE_DE_ENFANT)
Valeurs speciales notappl (blanc/sauté) missing (9, 999…) default (erreur de lecture)
setocclabel(INDIVIDU(i), NOM(i));
boucle do do i=1 while i < 10 if AGE(i) < 5 then moins. De 5 = moins. De 5 + 1; endif; enddo;
count nombre. Adultes = count(ADULTES); moins. De 5 = count(INDIVIDU where AGE < 5);
seek indice. Chef = seek(LIEN_PARENTE = 1);
tr errmsg(101) select(tr(102), AGE, tr(103), NIVEAU);
maketext msg = maketext( “%s est agé de %d ans”, NOM, AGE);
setcaselabel(MONDICT, “libellé de cas”);
setvalueset(LIEN_PARENTE, LIEN_MALE); valueset vs; setvalueset(LIEN_PARENTE, vs);
valueset vs; vs. add(NOM, indice); setvalueset(LIEN_PARENTE, vs);
length n = length(NOM);
getocclabel(INDIV(i));
loadcase trouve = loadcase(VILLAGE_DICT, PROV, DIST);
forcase DISTICT_DICT do … endfor;
functions function moins. De 5 Ans(indice) moins. De 5 Ans = AGE(indice) < 5; end;
userbar(clear); userbar(show); id = userbar(add button, “Aller à”, allera); userbar(remove, id);
accept choix = accept(“Fini? ”, “Oui”, “Non”);
advance to AGE;
move to AGE; move to AGE advance;
array des. Nombres(10); array string des. Chaines(50); array une. Matrice(5, 5);
showarray string tableau. Individus(30, 3); showarray(tableau. Individus, title(“Nom”, “Age”, “Sexe”));
visualvalue a = visualvalue(AGE);
systime t = systime(“HHMM”);
sysdate d = sysdate(“YYYYMMDD”);
timestamp t = timestamp();
view(chemin. Photo);
pathname s = pathname(Application); s = pathname(Temp); s = pathname(CSEntry);
execsystem (Android) execsystem( “camera: maphoto. jpg”);
filedelete(“monfichier”);
fileexist if fileexist(“monfichier”) then … endif;
gps gps(open); gps(read, 60, 10); gps(latitude); gps(longitude);
map carte; carte. addmarker( latitude, longitude); carte. show();
setfile fiche. Temp; setfile(fiche. Temp, “unficher. txt”);
filewrite file fiche. Temp; filewrite(fiche. Temp, “bonjour”); filewrite(fiche. Temp, “bonjour %s”, NOM);
close(fiche. Temp);
stop(0); // retour liste cas stop(1); // retour liste apps
pff pff. Menage; pff. Menage. load(“Menage. pff”); pff. Menage. exec();
setproperty(PROVINCE, "Protected", "Yes");
savesetting(“Nom. Interviewer”, NOM_INTERVIEWER));
loadsetting string nome = loadsetting( “Nom. Interviewer”);
tonumber n = tonumber(“ 12. 5”);
syncconnect synconnect(CSWeb, “https: //www. server. com”); synconnect(Bluetooth);
syncdata(PUT, MON_DICT);
syncfile(PUT, “/cheminlocal/ficher. txt”, “cheminserveur/”); syncfile(GET, “cheminserveur/ficher. txt” “/cheminlocal/”);
syncdisconnect();
syncserver() syncserver(Bluetooth, “/chemin/racine”);
- Systime
- Cspro android
- For skip pointer more skip leads to
- Iron age bronze age stone age timeline
- Iron age dates
- Source cards definition
- Syntax directed translation
- The pod fruit develops from
- Chris brown wall
- English bond t junction elevation
- Members used to carry wall loads over wall openings
- Mary dahlgren sound walls
- "age of trilobites" or "age of fish".
- Premature adrenarche
- Vrajapati in rig veda
- Victorian age and modern age
- Romanticism vs victorianism
- Difference between stone age and modern age
- Paleolithic vs neolithic
- Skip rochefort
- Skip graph
- Pant i skip
- Skip counting on number line
- Skip this
- Mining skip
- Skip list
- Which is a good idea for using skip pointers
- Skip rochefort
- Skip draw
- Skip graph
- Advantages of scanning in reading
- Mining skip
- What is skimming in communication
- Skip list python
- Skip tracing definition
- Skip coleman
- Skip pointers
- Skip the games
- Randomized skip list
- Skip through the seasons
- Phillips plastics corp
- טבלת גיבוב
- 14 15 16 17 18
- Lock free java
- Himanshu sahay
- Mail @ greenbuildingencyclopaedia.uk
- Which is a good idea for using skip pointers?
- Viva project models
- What are bibliography cards
- Big huge labs trading cards
- Exploratory sae definition
- Rorschach inkblot test definition
- Lincs cards
- Make augmented reality business card
- "business cards"
- Source card definition
- French christmas cards
- Lesson eight credit cards
- Crc card
- Catch me cards
- What is name day in poland
- How to write a card in german
- Supplier score cards
- Objectives of lan
- He māpuna te tamaiti
- Constant term
- Bibliography cards mla
- Basic counting principle
- Scratch bounce off sprite
- Efficient signature generation by smart cards