web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Syntax Error

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  On below code i am getting syntax error


m_Date := FrDate;
while m_Date <= ToDate do

arrMonths[ctr0] := m_Date
ctr0 := ctr0 + 1
m_Date := m_Date + 1;

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Correct syntax:

    m_Date := FrDate;

    while m_Date <= ToDate do

    BEGIN

     arrMonths[ctr0] := m_Date;

     ctr0 := ctr0 + 1;

     m_Date := m_Date + 1;

    END;

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans