| |
|
|
ByteAttack | Since I Yes once in a while from XProfan SQL-instructions write, or one HTML or XML-code ausgebe, yields itself zwangsläufig a problem the Overview over single Strings. The are partly so dermaßen unübersichtlich. (partly have I a String with of/ one SQL-instruction the 5 Lines long is, with of/ one Monitorauflösung of 1920...) clear can The in several Strings divide, and later join.
example (time KURZ) because of the Overview:
"<td align="+Chr$(34)+"center"+Chr$(34)+" valign="+Chr$(34)+"middle"+Chr$(34)+" bgcolor="+Chr$(34)+HexColor$+Chr$(34)+" class="+Chr$(34)+"Smaller"+Chr$(34)+"><font color="+Chr$(34)+"#FF0000"+Chr$(34)+">"+PGZWeb$+"</font></td>"
Übersichtlicher would, if one The variables simply Hinten anstellt: example:
"<td align={0}center{0} valign={0}middle{0} bgcolor={0}{1}{0} class={0}Smaller{0}><font color={0}#FF0000{0}>{2}</font></td>",Chr$(34),HexColor$,PGZWeb$
SQL-example:
"SELECT * FROM STDU WHERE STDUSERID = "+MitID$+" AND MONAT="+WahlMonat$+" AND JAHR="+WahlJahr$
'in
"SELECT * FROM STDU WHERE STDUSERID = {0} AND MONAT={1} AND JAHR={2}",MitID$,WahlMonat$,WahlJahr$
the would still take off XProfan self (where i think, that the Umbau To ardent and inkompatible To previous versions would) but with Infinity Perhaps a Überlegung worth would... |
|
|
| |
|
|
|
| there Gibts what in PHP, where one variables use can if one Stringkonstaten in " " pack instead of in ' ' How follows:
;$rofl="Test"
;$mao=123
;echo "Dies is a $rofl velvet $mao."
unfortunately often too a angry entrapment.
Dene idea find I but well.
How would a Escape-sequence?
say we:
this then but too only " " Stringkonstanten and not ' ', so one ' ' always use can with the know the 1:1 transfer becomes.
Roland can the very so easy install.
what hold You of it Roland, of such "gemeinsamen" principle for following versions? |
|
|
| |
|
|
|
Michael W. | for XProfan goes Yes:
"<td align=\qcenter\q valign=\qmiddle\q bgcolor=\q"+HexColor$+"\q class=\qSmaller\q><font color=\q#FF0000\q>"+PGZWeb$+"</font></td>"
' and with sqlselect ex XProfan9 :name$ (in db()-stature since X2)
SQLSelect "SELECT * FROM STDU WHERE STDUSERID = :MitID$ AND MONAT= :WahlMonat$ AND JAHR= :WahlJahr$"
db("SQLSelect", "SELECT * FROM STDU WHERE STDUSERID = :MitID$ AND MONAT= :WahlMonat$ AND JAHR= :WahlJahr$", gridhandle&)
|
|
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 12/13/15 ▲ |
|
|
|
|
RGH | That the Escapesequenz \$ ließe itself gewiss install. The question would only, How the end the Variablennamens recognized becomes.naturally could the one space his, but one should then two space write, if one of it in Ergebnisstring come along should.
(The SQL-Syntax with the führenden ":" would for normal Strings unfit, there Yes the colon thoroughly as such vorkommen can.)
Greeting Roland
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/13/15 ▲ |
|
|
|
|
| RGH (13.12.15)
That the Escapesequenz \$ ließe itself gewiss install. The question would only, How the end the Variablennamens recognized becomes.
Perhaps, because still The Variablennamen any famous are.
var aster.isk
"\$aster.iskize" becomes ""+$aster.isk+"ize" |
|
|
| |
|
|
|
ByteAttack | means
print "Dies is a \$rofl velvet \$Test."
would naturally supi... or
print "Dies is a {$rofl} velvet {$Test}."
would still too weg or? |
|
|
| |
|
|
|
| would be everything weg, too
var rofl="mao" print "Dies is a rofl!"
would weg.
Problems come into being if time {$rofl} time need instead of {$rofl} and whether mans übersieht.
my plan is there plainer and says, that it Yes already 1 Sonderzeichen gives for Kuriositäten. Virtually 1 Kuriositätenzeichen instead of many.
now goes naturally \rofl not, there \r include. \$ against isn't uses and the $ characters is right verständlich for "Variable" - so too in PHP eachone Varname with $ launch. means simplest is still \$rofl and either Gibts ne Variable rofl or not.
var rofl,rofl1,rofl2 print "test \$rofl2"
@Roland: Übersehe I what? or had You, the Abschließende characters only therefore installed because it plainer produce was?
Perhaps would indeed for Infinity one print "Hallo \$rofl\" for Humans rather - means conclusion with \ too for better Lesbarkeit. |
|
|
| |
|
|
|
HofK | iF (13.12.15)
now goes naturally \rofl not, there \r include. \$ against isn't uses and the $ characters is right verständlich for "Variable" ...
Perhaps would indeed for Infinity one print "Hallo \$rofl\" for Humans rather - means conclusion with \ too for better Lesbarkeit.
What is because in Infinity-Profan on \ Sequenzen presently already uses? the \n is Yes allgegenwärtig.
personal could I very well with print "Hallo \$rofl\" make friends. |
|
|
| |
|
|
|
RGH | Yes, with the the \ end the Namens gefällt me. it increased objectively The Lesbarkeit. i'll soon try, it in FreeProfan incorporate. (If it works, then naturally too into next XProfan-Version.)
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/13/15 ▲ |
|
|
|
|
RGH | Ah, me falls straight one, I the \$ already verbraten have, circa with putChar Hexwerte in a File write to.
therefore my suggestion, in Anlehnung on embedded SQL (see db("SQLExec", ... in the Help) \: To use. the end the variables becomes then, How with whom embedded variables in SQL by the Postfix with variables with the same and through one Semikolon with variables new Type.
means z.B. print "Hallo \:rofl;"
time look, whether I it tommorrow (or into next Meet) time in FreeProfan testweise einbaue.
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/15/15 ▲ |
|
|
|
|
RGH | Sodele: In FreeProfan have I the now so installed. it functions right well. (Also can Strings with the Operator $ join and $currentdir gives the actually directory again.) I try, it yet to christmas on the Server To bring.
in the next XProfan-Version becomes it these extensions naturally too give. beginning the year becomes it a kostelosen Patch give, after I from Boston and New York back be.
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/23/15 ▲ |
|
|
|
|
HofK | Eigenzitat- Eigenteilantwort
Klaus Hoffmeister (13.12.2015)
What is because in Infinity-Profan on \ Sequenzen presently already uses?
have time a little bit with Android studio and Infinity-Profan rumgetestet. The Unicode-Sequenzen functions so far. though not any characters How one tappt im dunkeln (differently evident yet to Android versions) with the App UnicodePad get outputted go.
Something like print "Schlängel-arrow \u21DD" is right nice. |
|
|
| |
|
|