MapTools.org

[rosa-users] Ruler Feature

Yewondwossen Assefa assefa@dmsolutions.ca
Tue, 06 Aug 2002 15:05:14 -0400
Hi There,

 You could replace your printf command with an echo commad. (printf is
not necessary here and is more time consumming that the echo) "

echo "<PARAM NAME=\"DIST_MSG\" VALUE=\"Approximative distance: %s m\">";

Later,

Bryan Tolka wrote:

> I am trying to implement the ruler function in my applet.
>
> printf("<PARAM NAME=\"DIST_MSG\" VALUE=\"Approximative distance: %s
> miles\">\n");
>
> In the line above I keep getting error messages on my source saying
> there are too few arguments. If i do not have that statement in the
> applet, nothing happen in the status bar. I am guessing it has to do
> wirh the %s. Can someone help?
>
> Thanks
> Bryan Tolka
>
> _______________________________________________
> ROSA-users mailing list
> ROSA-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/rosa-users

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




This archive was generated by Pipermail.