mrachow
Posts: 509
|
| Posted: 03/22/2005, 5:20 AM |
|
Does anybody know how Studio computes the checksum of its code blocks?
My idea is if I prepare own code blocks in the same way they will be colored like Studio code blocks?!
Thanks
_________________
Best regards,
Michael |
 |
 |
peterr
Posts: 5971
|
| Posted: 03/22/2005, 9:46 AM |
|
Ah, so you want to use calculator when you write code 
You may want to check with the support.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
feha
Posts: 712
|
| Posted: 03/25/2005, 2:43 AM |
|
Hi
I supose:
//CCToHTML @0-93F44B0D
function CCToHTML($Value)
{
return htmlspecialchars($Value);
}
//End CCToHTML
]//CCToHTML @0-93F44B0D
decides START
and
//End CCToHTML
end of the codeblock ...
Same would be for templates ...
_________________
Regards
feha
www.vision.to
feedpixel.com |
 |
 |
mrachow
Posts: 509
|
| Posted: 03/29/2005, 6:48 AM |
|
Hi feha,
  
???
So sorry,
I don't understand what you want to tell (me).
Quote :]//CCToHTML @0-93F44B0D
decides START
and
//End CCToHTML
I suppose 0-93F44B0D is calculated using all printable characters of a certain code block, but how?
_________________
Best regards,
Michael |
 |
 |
feha2
|
| Posted: 03/30/2005, 6:57 AM |
|
I don't know why it would calculate ?
try you own an test
//MyFunction @0-whatever alphanumeric
function MyFunction($Value)
{
return htmlspecialchars($Value);
}
//End MyFunction
else the sum is calculated before code generation so this would be not possible to calculate it after you put it on Common.php or whatever file.
|
|
|
 |