Welcome to DeCaf:Net

DeCaf:Net Product Verbs CSV Excel Dec Inc Include Menu PageIndex PhotoAlbum Word XML

DeCaf:Net Logo DeCaf:Net the poor mans solution to the world of the web.

The Verbs main goal is to give the HQL a real language.

Some Verbs are internal to the HQL Kernel, whereas the more powerful Verbs are external DLLs that brings real action to the HQL language. We selected the DLL option even if many Windows user dislikes the DLL’s. Why? Simple reason, it gives the developers a change to expand the language without having to re-compile the core code. If you can create DLL’s with you coding tools you can add Verbs to the HQL language. Some Verbs may be only useful to you, whereas other may be useful to everyone that is using the HQL Kernel.

One Verb can be replaced with another. Let’s say you want the Verb to not only produce HTML code but some scripting too, well all you need to do is create a new DLL.

Internal Verbs:

ECHO

Pass information to the html file

$xxxxx

$MyFile = {Home}myfile.txt;

Echo Include File=$MyFile;

If

If Number Sign Number Then;

Sign as =, <, <=, <>, >=, >

$Count = 3;

$Index = 1;

If $Index < $Count Then;

. Echo = $Index;

End;

While

While Number Sign Number Do;

Sign as =, <, <=, <>, >=, >

$Count = 3;

$Index = 1;

While $Index < $Count Do;

. Echo = $Index;

End;

{ TAG_NAME }

Tags to be replaced

{ HOME }

Folder path configured in the Setup

{ ROOT }

Folder path to where the application is located

{ TIME }

Insert computer time as "4:43:00 PM"

{ DATE }

Insert computer date as "10/27/2001"

{ DATETIME }

Insert computer date and time as "10/27/2001 4:43:00 PM"

{ LONGDATE }

Insert computer date as "Saturday, October 27, 2001"


DeCaf:Net Product Verbs CSV Excel Dec Inc Include Menu PageIndex PhotoAlbum Word XML


Robot tips!
robot tips

[Question] How can I use the Internal Verb?

[Answer] In the following example you can see how we have use the Internal Verbs for date stamping a web page.


<html>
  <head>
    <title>Date stamp Web site</title>
  </head>
  <body bgcolor="#C1F5F5">
  <#hql
    $LF = <br>;
    Echo Updated: + { DATETIME } + $LF;
    Echo $LF;
  #>
  </body>
</html>



Augury!
At Work
This page is under going transformation so bear in mind to check back, at a later time, to see all the new good "stuff" (like in "matter" and "anti-matter") that we are providing to you.
Rev: Thursday, December 27, 2001
Copyright (c) 2001 New:Team SoftWare, Inc..
All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of NTS is prohibited.
NTS and the NTS logo are trademarks of New:Team SoftWare, Inc..