[pmwiki-users] Page Variables help - how to take one and split into two

Hans design5 at softflow.co.uk
Sun Nov 1 13:04:55 CST 2009


Sunday, November 1, 2009, 5:04:14 PM, stevecrisp at gmail.com wrote:

> (:coord 50.1234, -2.3456:)

> I'm trying (and failing) to take the value from coord and split it
> to store two page variable called Latitude and Longitude.

I imagine that your markup will call a sepcial markup function.
The coordinate values can be passed to it directly,
and you can set each as a PV, all within the function.
There should be no need to extract the values from a third PV.


  ~Hans




More information about the pmwiki-users mailing list