![]() |
||||
|
|
||||
[rosa-users] Ruler Featurewoodbri@swoodbridge.com woodbri@swoodbridge.comTue, 6 Aug 2002 15:09:26 -0400
|
||||
If you want a % sign to be on the output string then you need to code
it as %% in the printf format string. The way you have it, it is
expecting a string argument that it can substitue for the %s which
you clearly have supplied :)
Hope that is clear,
-Steve
On 6 Aug 2002 at 14:47, 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
>
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |