Star Pattern in OutSystems
Application Type
Traditional Web

can anyone help me to print this pattern in outsystems,

*

***

*****

*******

Thanks in advance.

Hi Ajit, 

First add (use concat()) pattern star (as a text) using for each loop. In your case pattern value is 2.

Then you can use listAppend client action to append created value into the list and then finally display the list.

 

Cheers!!

Thanks, Aadhavan S

Hello,

Thanks for your reply.

Can I get any sample oml.

I am not getting it actually how to implement it.

Kind Regards,

Ajit kurane.

StarPatternv3.oml

mvp_badge
MVP

Hi Ajit,


use this link to see star program-

https://rahul-sahu.outsystemscloud.com/TestForm/StarProgram?_ts=637655058770327651


you can change according your need,

TestForm.oml

mvp_badge
MVP

Hi Ajit,

You can also check this forum post addressing the same use case: https://www.outsystems.com/forums/discussion/60758/pattern-logic/


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.