PADC()

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
User avatar
kevclark64
Posts: 127
Joined: Thu Aug 15, 2019 7:30 pm
Location: USA

PADC()

Post by kevclark64 »

PADC seems to have a bug which shows up if the padding character is something other than a space. For example:

Code: Select all

LOCAL lcString as String
lcString="hello"
? PADC(lcString,10,"=")
The above lines should print "==hello===" but they actually print " hello==="
User avatar
Chris
Posts: 4978
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

PADC()

Post by Chris »

Thanks Kevin, problem confirmed and should be fixed in the next build.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply