Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
56
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const G_PERIOD_CONST = "................................................................................................................................";
  2. const G_ASTERIX_CONST = "********************************************************************************************************************************";
  3. local G_PERIOD_POOL = array(128);
  4. local G_ASTERIX_POOL = array(128);
  5. foreach (i,v in G_PERIOD_POOL) G_PERIOD_POOL[i] = G_PERIOD_CONST.slice(0, i);
  6. foreach (i,v in G_ASTERIX_POOL) G_ASTERIX_POOL[i] = G_ASTERIX_CONST.slice(0, i);
  7.  
  8. function Generate3(l) for (local p = 1; p <= l; ++p) kprint(G_PERIOD_POOL[l-p] + G_ASTERIX_POOL[p]);
Advertisement
RAW Paste Data Copied
Advertisement