nelsondac
Power Member
boas. tenho o seguinte código
como instroduzir o "|" (suponho que seja isto, é aquele simbolo que tem entre os "then" e os "ends", depois de ":" em todas as linhas no inicio) ????
tenho aqui o codigo, não consegui mete-lo direito aqui....
tem umas cores esquisitas e tal... a dúvida é:[FONT="]:ClrDraw[/FONT][FONT="]:Text(0,0,"DECIMAL:"[/FONT][FONT="]:Input "DECIMAL:",A[/FONT][FONT="]:Text(12,0,"HEXIDECIMAL:"[/FONT][FONT="]:Text(24,0,"BINARY:"[/FONT][FONT="]:Text(42,0,"OCTAL:"[/FONT][FONT="]:90→X[/FONT][FONT="]:90→Y[/FONT][FONT="]:36→Z[/FONT][FONT="]:90→W[/FONT][FONT="]:90→V[/FONT][FONT="]:A→J[/FONT][FONT="]:A→K[/FONT][FONT="]:A→I[/FONT][FONT="]:Lbl 0[/FONT][FONT="]:I/10→N[/FONT][FONT="]:fPart(N)*10→O[/FONT][FONT="]:iPart(N)→I[/FONT][FONT="]:Text(6,V,O[/FONT][FONT="]:V-4→V[/FONT][FONT="]:If I=0[/FONT][FONT="]:Then[/FONT][FONT="]:¦ Lbl 1[/FONT][FONT="]:¦ A/16→B[/FONT][FONT="]:¦ fPart(B)*16→C[/FONT][FONT="]:¦ iPart(B)→A[/FONT][FONT="]:¦ If C<10[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,C[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=10[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"A"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=11[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"B"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=12[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"C"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=13[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"D"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=14[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"E"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ If C=15[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Text(18,X,"F"[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ X-4→X[/FONT][FONT="]:¦ If A=0[/FONT][FONT="]:¦ Then[/FONT][FONT="]:¦ ¦ Lbl 2[/FONT][FONT="]:¦ ¦ J/2→E[/FONT][FONT="]:¦ ¦ fPart(E)*2→F[/FONT][FONT="]:¦ ¦ iPart(E)→J[/FONT][FONT="]:¦ ¦ Text(Z,Y,F[/FONT][FONT="]:¦ ¦ Y-4→Y[/FONT][FONT="]:¦ ¦ If Y≤0[/FONT][FONT="]:¦ ¦ Then[/FONT][FONT="]:¦ ¦ ¦ 90→Y[/FONT][FONT="]:¦ ¦ ¦ Z-6→Z[/FONT][FONT="]:¦ ¦ End[/FONT][FONT="]:¦ ¦ If J=0[/FONT][FONT="]:¦ ¦ Then[/FONT][FONT="]:¦ ¦ ¦ Lbl 3[/FONT][FONT="]:¦ ¦ ¦ K/8→G[/FONT][FONT="]:¦ ¦ ¦ fPart(G)*8→H[/FONT][FONT="]:¦ ¦ ¦ iPart(G)→K[/FONT][FONT="]:¦ ¦ ¦ Text(48,W,H[/FONT][FONT="]:¦ ¦ ¦ W-4→W[/FONT][FONT="]:¦ ¦ ¦ If K=0[/FONT][FONT="]:¦ ¦ ¦ Then[/FONT][FONT="]:¦ ¦ ¦ ¦ Stop[/FONT][FONT="]:¦ ¦ ¦ End[/FONT][FONT="]:¦ ¦ ¦ Goto 3[/FONT][FONT="]:¦ ¦ End[/FONT][FONT="]:¦ ¦ Goto 2[/FONT][FONT="]:¦ End[/FONT][FONT="]:¦ Goto 1[/FONT][FONT="]:End[/FONT][FONT="]:Goto 0
[/FONT]
como instroduzir o "|" (suponho que seja isto, é aquele simbolo que tem entre os "then" e os "ends", depois de ":" em todas as linhas no inicio) ????
tenho aqui o codigo, não consegui mete-lo direito aqui....
Última edição: