... / oPrint:nVertSize() ,0 ) else nLen :=round ( nLen * 10 * oPrint:nHorzRes() / oPrint:nHorzSize(), 0 ) end for n:=1 to len(cBarra) if substr(cBarra,n,1) ='1' if lHorz oPrint:fillRect({nx,ny,nx+nLen,(ny+=nWidth)},oBr) else oPrint:fillRect({nx,ny,(nx+=nWidth),ny+nLen},oBr) end else if ...
... FROM acue_cie LEFT JOIN catastro_1 ON acue_cie.dire=catastro_1.dire WHERE SUBSTR(catastro_1.codigo,1,2)='01' La pregunta es la siguiente: Como hago una consulta para que me detecte la direccion en la tabla acue_cie que se ...
... }; // SEGUN FORO DE FIVEWIN function LRC( cText ) local nCheckSum := 0 local n for n = 1 to Len( cText ) nCheckSum = nXor( nCheckSum, Asc( SubStr( cText, n, 1 ) ) ) next return (nCheckSum) // valores esperados vs obtenidos con metodo fivewin LRC() // valor esperado ... valor obtenido alerta( ...
Gracias Armando, cree esta funcion FUNCTION Redondear(numero) *--------------------------- Local val_num := Val(SubStr(Str(numero,9),-1)) Local Valor := 0 If val_num>=1 .AND. val_num<=5 valor = numero - val_num ElseIf val_num>= 6 .AND. val_num<= 9 valor = numero + (10-val_num) ...
... programming language! User I need harbour code ChatGPT To split the address string in Harbour, a language similar to Clipper, you can use the SubStr() and At() functions to locate and extract the specific parts of the address. Harbour's string handling functions are quite powerful for these ...